e52b97009eb40f5e96afa91299ca5eb9ddba3862,src/com/vortexwolf/chan/common/controls/ClickableLinksTextView.java,ClickableLinksTextView,checkLinksOnTouch,#MotionEvent#,93

Before Change


            return superResult;
        }

        final boolean touchIsFinished = (action == MotionEvent.ACTION_UP) && !this.getIgnoreActionUpEvent() && this.isFocused();

        // Copied from the LinkMovementMethod class
        if (touchIsFinished) {

After Change


        boolean isLinkClick = MyLinkMovementMethod.getInstance().isLinkClickEvent(this, (Spannable) this.getText(), event);
        boolean isTouchStarted = action == MotionEvent.ACTION_DOWN;
        boolean isTouchFinished = (action == MotionEvent.ACTION_UP) && !this.getIgnoreActionUpEvent();
        if (isLinkClick && (isTouchStarted || isTouchFinished) && this.isFocused()) {
            return true;
        }